package pl.edu.agh.xls2html.js;

public class ReferencedFormulaValue implements FormulaItem {

	private String referencedCellNumber;

	public ReferencedFormulaValue(String referencedCellNumber) {
		this.referencedCellNumber = referencedCellNumber;
	}

	@Override
	public String getJSFunctionElement() {
		return "parseFloat(document.getElementById('" + referencedCellNumber
				+ "').value)";
	}

}
